package com.eagle.scali.contentcenter.feignclient.fallback;


import com.eagle.scali.contentcenter.domain.dto.messaging.UserAddBonusMsgDTO;
import com.eagle.scali.contentcenter.domain.dto.user.UserAddBonseDTO;
import com.eagle.scali.contentcenter.domain.dto.user.UserDTO;
import com.eagle.scali.contentcenter.feignclient.UserCenterFeignClient;
import org.springframework.stereotype.Component;

@Component
public class UserCenterFeignClientFallback implements UserCenterFeignClient {
    @Override
    public UserDTO findById(Integer id) {
        UserDTO userDTO = new UserDTO();
        userDTO.setWxNickname("流控/降级返回的用户");
        return userDTO;
    }

    @Override
    public UserDTO reduceBonus(UserAddBonseDTO userAddBonseDTO) {
        return null;
    }

	@Override
	public UserDTO addBonus(UserAddBonusMsgDTO userAddBonusMsgDTO) {
		return null;
	}
}
